home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global glist
- repeat with i = 3 to 17
- puppetSprite(i, 1)
- end repeat
- showa()
- showb()
- showc()
- showd()
- showe()
- end
-
- on showa
- set the castNum of sprite 3 to the number of cast "KEY"
- puppetTransition(23)
- updateStage()
- puppetSound("KeyIs")
- updateStage()
- set the castNum of sprite 8 to the number of cast "KEY+"
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("SelectIs")
- updateStage()
- set the castNum of sprite 13 to the number of cast ("A" & getAt(glist, 1))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("42")
- updateStage()
- set the castNum of sprite 3 to the number of cast "Key++"
- set the castNum of sprite 8 to the number of cast ("AT" & getAt(glist, 1))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- end
-
- on showb
- set the castNum of sprite 4 to the number of cast "RIVER"
- puppetTransition(23)
- updateStage()
- puppetSound("RiverIs")
- updateStage()
- set the castNum of sprite 9 to the number of cast "RIVER+"
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("SelectIs")
- updateStage()
- set the castNum of sprite 14 to the number of cast ("B" & getAt(glist, 2))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("42")
- updateStage()
- set the castNum of sprite 4 to the number of cast "River++"
- set the castNum of sprite 9 to the number of cast ("BT" & getAt(glist, 2))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- end
-
- on showc
- set the castNum of sprite 5 to the number of cast "Chair"
- puppetTransition(23)
- updateStage()
- puppetSound("ChairIs")
- updateStage()
- set the castNum of sprite 10 to the number of cast "Chair+"
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("SelectIs")
- updateStage()
- set the castNum of sprite 15 to the number of cast ("C" & getAt(glist, 3))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("42")
- updateStage()
- set the castNum of sprite 5 to the number of cast "Chair++"
- set the castNum of sprite 10 to the number of cast ("CT" & getAt(glist, 3))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- end
-
- on showd
- set the castNum of sprite 6 to the number of cast "Candle"
- puppetTransition(23)
- updateStage()
- puppetSound("CandleIs")
- updateStage()
- set the castNum of sprite 11 to the number of cast "Candle+"
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("SelectIs")
- updateStage()
- set the castNum of sprite 16 to the number of cast ("D" & getAt(glist, 4))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("42")
- updateStage()
- set the castNum of sprite 6 to the number of cast "Candle++"
- set the castNum of sprite 11 to the number of cast ("DT" & getAt(glist, 4))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- end
-
- on showe
- set the castNum of sprite 7 to the number of cast "DOOR"
- puppetTransition(23)
- updateStage()
- puppetSound("DoorIs")
- updateStage()
- set the castNum of sprite 12 to the number of cast "DOOR+"
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("SelectIs")
- updateStage()
- set the castNum of sprite 17 to the number of cast ("E" & getAt(glist, 5))
- puppetTransition(23)
- updateStage()
- repeat while soundBusy(1)
- nothing()
- end repeat
- puppetSound("42")
- updateStage()
- set the castNum of sprite 7 to the number of cast "DOOR++"
- set the castNum of sprite 12 to the number of cast ("ET" & getAt(glist, 5))
- puppetTransition(23)
- updateStage()
- end
-
- on mywait x
- startTimer()
- repeat while the timer < x
- nothing()
- end repeat
- end
-